package com.ziyun.erp.modules.quoteAttribute.service;

import com.baomidou.mybatisplus.service.IService;
import com.ziyun.erp.modules.quoteAttribute.entity.QuoteAttributeEntity;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 报价属性
 *
 * @author jiangli
 * @email
 * @date 2018-09-06 08:52:31
 */
public interface QuoteAttributeService extends IService<QuoteAttributeEntity> {

    //普通属性列表
    PageUtils queryPage(Map<String, Object> params);

    //普通属性新增
    int save(QuoteAttributeEntity quoteAttribute);

    R deleteByIds(Integer[] ids);

    //工艺列表
    PageUtils queryPageCraft(Map<String, Object> params);

    //工艺新增
    int saveCraft(QuoteAttributeEntity quoteAttribute);

    //材料列表
    PageUtils queryPageMaterial(Map<String, Object> params);

    //材料新增
    int saveMaterial(QuoteAttributeEntity quoteAttribute);


    List<Map<String, Object>> getQuoteGoodsCraftList(String attributeOrigin);
}

